

<!-- /*文献信息，修改接口，删除接口，翻页接口*/ -->

<ul class="breadcrumb">
  <li><a href="{:U(GROUP_NAME . '/Index/index')}">首页</a> <span class="divider">/</span></li>
  <li class="active">文献管理</li>
</ul>
<h2 class="text-center">文献列表</h2>
<table class="table">
        <thead>
            <tr>
                <td>文献ID</td>
                <td>文献名称</td> 
                <td>圈子状态</td> 
                <td>时间</td> 
                <td>删除文献</td>
                <td>编辑文献</td>
            </tr>                           
        </thead>
        <tbody>
        <volist name="doc" id="u">
          <tr>
            <td>{$u.d_id}</td>
            <td><a href="{:U(GROUP_NAME . '/Person/work_platform', array('d_id' => $u['d_id']))}">{$u.docname}</a></td>
            <td>
                <if condition="$u['status']">
                是
                <else />
                否
                </if>
            </td>
            <td>{$u.createtime}</td>
            <td>
              <a href="{:U(GROUP_NAME . '/Person/deleteDocHandle', array('d_id' => $u['d_id']))}" onclick="return confirm('确定将此文献删除?')"><i class="icon-remove"></i></a>
            </td>
            <td><a href="{:U(GROUP_NAME . '/Person/doc_edit', array('d_id' => $u['d_id']))}" target="_blank"><i class="icon-cog"></i></a></td>
          </tr>
        </volist>
        </tbody>
</table>

<div class="pagination pagination-centered">
    <ul>
        <label>当前&nbsp;{$page.nowPage}&nbsp;页/共&nbsp;{$page.totalPages}&nbsp;页</label>
        <li><a href="__ACTION__/p/{$page.firstPage}">第一页</a></li>
        <li><a href="__ACTION__/p/{$page.prePage}">上一页</a></li>
        <li><a href="__ACTION__/p/{$page.nextPage}">下一页</a></li>
        <li><a href="__ACTION__/p/{$page.totalPages}">最后一页</a></li>
    </ul>
</div>